Fix bug with "TypeError: fore|back|style() takes no arguments#13
Open
Arinffy wants to merge 1 commit intopetercorke:masterfrom
Open
Fix bug with "TypeError: fore|back|style() takes no arguments#13Arinffy wants to merge 1 commit intopetercorke:masterfrom
Arinffy wants to merge 1 commit intopetercorke:masterfrom
Conversation
…rguments" I debugged the fore|back|style errors: If it's for known and definite rendering effects like text, you can set it in the form of fore.GREEN. However, for unknown and dynamic content, it needs to be set as fg(set). If this is not modified, there will be an error when printing (robot). No other anomalies have been observed.
Owner
|
thanks for your comments. I am really confused about [2.0.0] - 2023-06-19
then later [2.1.1] - 2023-06-20 Changed Can you give me a small runnable example that shows the problem you are experiencing. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Dear Mr. Corke,
I hope this letter finds you well.
I wanted to inform you that I am currently using a system with Docker-ubuntu20.04 and Python 3.8.5. I am incredibly grateful for your open-source project, roboticstoolbox-python, which I have been diligently studying.
Furthermore, I recently encountered an issue and debugged the fore|back|style errors. I discovered that for known and definite rendering effects, such as text, one can set the color in the form of fore.GREEN. However, for unknown and dynamic content, it is necessary to use fg(set). If this modification is not made, an error occurs when printing (robot). So far, I have not encountered any other anomalies.
If you have any questions or concerns regarding this matter, please do not hesitate to reach out to me via email at Arinffy@outlook.com.
Thank you once again for your valuable contributions to the open-source community.
Yours sincerely,
Arinffy